package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("chat_memory")
public class ChatMemory {

    @TableId(value = "memory_id",type = IdType.AUTO)
    private String memoryId;  // 记忆ID

    private String messages;    // 聊天记录 (JSON)
}
